package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "角色分配用户保存对象")
public class RoleUserSaveDTO implements Serializable {

	@ApiModelProperty(value="角色id")
	@NotNull(message = "角色id不能为空!")
	private Long roleId;

	@ApiModelProperty(value="用户id")
	private List<Long> userIds;
}
